
<form id="form_add"><input type="hidden" name="from" value="{[$smarty.session.emp.email]}" />
<table>
	<tr>
		<td align="right">供应商：</td>
		<td><input type="text" name="supplier" id="supplier" value="" size="20" title="{[$t.supplier]}"> <a
			href="javascript:void(0)" id="supplier_x" onclick="Common.toggle(this, '#label_linkman')" class="ui-icon ui-icon-circle-triangle-w"
			style="display: inline-table"></a></td>
	</tr>
	<tr id="label_linkman">
		<td></td>
		<td>{[include file="_linkman.tpl"]}</td>
	</tr>
	<tr>
		<td align="right">电邮：</td>
		<td><input type="text" name="to" id="to" size="40" value=""></td>
	</tr>
	<tr>
		<td width="20%" align="right">标题：</td>
		<td width="80%"><input type="text" name="subject" size="40" value="景荣询价{[$smarty.now|date_format:'%Y-%m-%d']}"></td>
	</tr>
	<tr>
		<td align="right">内容：</td>
		<td><textarea rows="2" name="content" id="content" cols="55">
		您好，<br />
		
		<br />
		如下物料需要询价，请速回，谢谢！<br />
		
		<br />
		<table border="1">
			<tr align="center">
				<th>序号</th>		
				<th>名称</th>
				<th>规格</th>
				<th>数量</th>
				<th>备注</th>
		   </tr>
		   {[foreach name=outer key=key item=item from=$result]}
		   {[assign var="no" value="`$key+1`"]}
			<tr align="center">
				<td>{[$no]}</td>
				<td>{[$item.name]}</td>
				<td>{[$item.standard]}</td>
				<td>{[$item.amount|string_float]} {[$item.unit]}</td>
				<td>{[$item.content]}</td>
		   </tr>
		   {[/foreach]}
		</table>

<br />
{[$smarty.session.emp.name]}<br />
景荣精密产品（深圳）有限公司<br />
地址：广东省深圳市宝安区沙井镇步涌同富裕工业区A-5地块B3-B4栋 518104<br />
网址：www.tecmold.com 邮箱：{[$smarty.session.emp.email]}<br />
电话：0755-88840348-{[$smarty.session.emp.exten]} 传真：0755-81444778<br />
		</textarea></td>
	</tr>
</table>
</form>

<script type="text/javascript" src="js/material/bom/mail.js?r={[$smarty.now]}"></script>
